//
//  TXNetworkTaskCache.swift
//  Here_Swift
//
//  Created by 童煊 on 2018/1/9.
//  Copyright © 2018年 童煊. All rights reserved.
//

import UIKit


class TXNetworkTaskCache: NSObject {
    
    /** 最大缓存数*/
    public static let TXNetWorkCacheMaxCapacity = 50
    
    /** 缓存集合 KVO*/
    @objc public dynamic var cache = Array<Any>()
    
    /**
     KVC重载
     */
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        print("TXNetworkTaskCache set for undefinedKey:",key,"value:",value as Any)
    }
}
